<template>
  <div class="container">
    <!--
    <h1>App</h1>
    <router-link to="/login">跳转登录</router-link>
    <router-link to="/home">跳转主页</router-link>
    <a-space>
      <a-button typ="primary" @click="skip">点击跳转登录页</a-button>
      <a-button typ="primary">点击跳转首页</a-button>
    </a-space>

    <hr />
    -->
    <router-view></router-view>
  </div>
</template>
<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const skip = () => {
  router.push({ path: '/login' })
}
</script>
<style scoped></style>
